<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <title>Thymeleaf3 + Servlet3 示例</title>
</head>
<body>
<p>
    <!--    EL表达式-->
    Hello <span th:text="${recipient}"></span>!<br/>

</p>
<table border="1">
    <thead>
    <tr>
        <td>id</td>
        <td>员工名</td>
        <td>登录名</td>
        <td>phone</td>
        <td>email</td>
        <td>status</td>
        <td>departmentid</td>
        <td>role</td>
        <td>password</td>
    </tr>
    </thead>
    <tbody>
    <tr th:each="employee:${employeeList}">
        <td th:text="${employee.employeeId}" />
        <td th:text="${employee.employeeName}"></td>
        <td th:text="${employee.username}"></td>
        <td th:text="${employee.phone}"></td>
        <td th:text="${employee.email}"></td>
        <td th:text="${employee.status}"></td>
        <td th:text="${employee.departmentId}"></td>
        <td th:text="${employee.role}"></td>
        <td th:text="${employee.password}"></td>
    </tr>
    </tbody>
</table>
</body>
</html>


